package com.ahu.xrq.maker.entity;

import java.util.Date;
import java.util.List;

/**
 * @author XuRuiQing
 * @date 2018/3/15 9:49
 * 商品实体类创建
 */
public class Product {

	private Long productId;
	private String productName;
	private String productDesc;
	/**
	 * 简略图
	 */
	private String imgAddr;
	private String normalPrice;
	private Integer priority;
	private Date createTime;
	private Date lastEditTime;
	/**
	 * 0.下架 1.在前端展示系统展示
	 */
	private Integer enableStatus;

	private List<ProductImg> productImgList;
	private ProductCategroy productCategroy;
	private Shop shop;

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getProductDesc() {
		return productDesc;
	}

	public void setProductDesc(String productDesc) {
		this.productDesc = productDesc;
	}

	public String getImgAddr() {
		return imgAddr;
	}

	public void setImgAddr(String imgAddr) {
		this.imgAddr = imgAddr;
	}

	public String getNormalPrice() {
		return normalPrice;
	}

	public void setNormalPrice(String normalPrice) {
		this.normalPrice = normalPrice;
	}

	public Integer getPriority() {
		return priority;
	}

	public void setPriority(Integer priority) {
		this.priority = priority;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastEditTime() {
		return lastEditTime;
	}

	public void setLastEditTime(Date lastEditTime) {
		this.lastEditTime = lastEditTime;
	}

	public Integer getEnableStatus() {
		return enableStatus;
	}

	public void setEnableStatus(Integer enableStatus) {
		this.enableStatus = enableStatus;
	}

	public List<ProductImg> getProductImgList() {
		return productImgList;
	}

	public void setProductImgList(List<ProductImg> productImgList) {
		this.productImgList = productImgList;
	}

	public ProductCategroy getProductCategroy() {
		return productCategroy;
	}

	public void setProductCategroy(ProductCategroy productCategroy) {
		this.productCategroy = productCategroy;
	}

	public Shop getShop() {
		return shop;
	}

	public void setShop(Shop shop) {
		this.shop = shop;
	}
}
